import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import Axios from 'axios'
//import Print from '@/assets/lib/vuePlugs/print'
import Print from 'vue-print-nb/lib/tag-textarea.umd'
Vue.use(Print)

// import htmlToPdf from './htmlToPdf'
//Vue.use(htmlToPdf)

Vue.prototype.$axios = Axios
Axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';


Vue.config.productionTip = false
import './assets/lib/mui/css/mui.min.css'
import './assets/lib/mui/css/icons-extra.css'
import './assets/lib/mui/css/iconfont.css'


import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(Element);

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})




